package com.qf.attendance.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * zrx-出差费用表
 */
@ApiModel(description = "zrx-出差费用表")
@Data
@TableName(value = "approve")
public class Approve {
    public static final String COL_APPROVE_ID = "approve_id";
    public static final String COL_UID = "uid";
    public static final String COL_DEPT_ID = "dept_id";
    public static final String COL_TIME_SHEET_ID = "time_sheet_id";
    public static final String COL_TASK = "task";
    public static final String COL_DONE_STATUS = "done_status";
    public static final String COL_PEERS = "peers";
    public static final String COL_REIMBURSE = "reimburse";
    public static final String COL_STATUS = "status";
    public static final String COL_IS_DEL = "is_del";
    /**
     * 主键
     */
    @TableId(value = "approve_id", type = IdType.INPUT)
    @ApiModelProperty(value = "主键")
    private Integer approveId;
    /**
     * 员工ID
     */
    @TableField(value = "`uid`")
    @ApiModelProperty(value = "员工ID")
    private Integer uid;
    /**
     * 部门ID
     */
    @TableField(value = "dept_id")
    @ApiModelProperty(value = "部门ID")
    private Integer deptId;
    /**
     * 考勤ID
     */
    @TableField(value = "time_sheet_id")
    @ApiModelProperty(value = "考勤ID")
    private Integer timeSheetId;
    /**
     * 出差任务
     */
    @TableField(value = "task")
    @ApiModelProperty(value = "出差任务")
    private String task;
    /**
     * 完成情况
     */
    @TableField(value = "done_status")
    @ApiModelProperty(value = "完成情况")
    private String doneStatus;
    /**
     * 同行人员ID
     */
    @TableField(value = "peers")
    @ApiModelProperty(value = "同行人员ID")
    private Integer peers;
    @TableField(value = "reimburse")
    @ApiModelProperty(value = "")
    private Double reimburse;
    /**
     * 审批情况 0审核中 1审核完成
     */
    @TableField(value = "`status`")
    @ApiModelProperty(value = "审批情况 0审核中 1审核完成")
    private Integer status;
    /**
     * 假删除 0表示未删除 1表示删除
     */
    @TableField(value = "is_del")
    @ApiModelProperty(value = "假删除 0表示未删除 1表示删除")
    @TableLogic(value = "0", delval = "1")
    private Integer isDel;
}